home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-10-23 | 1.3 KB | 40 lines | [TEXT/GEOL] |
- Item 5659851 20-Oct-89 12:07
-
- From: D2086 Efficient Field Svc, C Faith,PRT
-
- To: APPLE.BUGS Apple Bugs Reporting
- MACAPP.TEST MacApp SQA Team
- MACAPP.TECH$ MACAPP Tech
-
- Sub: Update on Printing Problems
-
- I figured out the problem that I was having with Printing a Window.
-
- It turns out the method:
- FUNCTION TWindow.Focus: BOOLEAN; OVERRIDE;
-
-
- was bombing on this line:
-
- MacsBugStr('TWindow.Focus: Port is incorrect');
-
- Since this is an inline and I am not that good with assembler I will go no
- further.
-
- I do not know what MacsBugStr ordinarily does when MacsBug is not installed (as
- I don't use it) but this time it bombed for no apparent reason. This may be a
- bug! Now ordinarily one will not get here since the GrafPorts will be set
- fine, but since printing changes the GrafPort the code tried to invoke the
- MacsBugStr call. It would have been nicer to get the ProgramBreak message.
-
- One further thing:
-
- It seems TWindows don't ordinarily like to be printed, this is a shame as it
- seems a natural thing to do.
-
- I had to Override both TWindow.Focus and TWindow.Draw to get this done. It was
- not big deal but being able to print windows should perhaps be easier.
-
- - Curtis Faith
-
-